package com.common.event.tuple;

/**
 * 
* @Title: TupleUtil.java 
* @Package com.common.event.tuple
* @Description: 多元组工具类
* @author tangzhibin
* @date 2016年6月3日 
* @version V1.0
 */
public abstract class TupleUtil {

	public static <A,B> TwoTuple<A,B> tuple(A a,B b){
		return new TwoTuple<A, B>(a, b);
	}
	
	public static <A,B,C> ThreeTuple<A,B,C> tuple(A a,B b,C c){
		return new ThreeTuple<A, B,C>(a, b,c);
	}
}
